package net.qhzw.vip.qiyu.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ExcelTarget("ledgerDatas")
public class LedgerData {


    //@Excel(name = "序号")
    private Long id;

    @Excel(name = "商户名称", width = 26)
    private String shopName;

    @Excel(name = "合同编号", width = 18)
    private String contractNo;

    @Excel(name = "姓名")
    private String realName;

    @Excel(name = "身份证号", width = 20)
    private String idCard;

    @Excel(name = "联系电话", width = 15)
    private String mobile;

    @Excel(name = "押金", width = 15)
    private BigDecimal deposit;

    @Excel(name = "换点ID", width = 15)
    private String batteryId;

    @Excel(name = "紧急联系人", width = 15)
    private String emergencyContact;

    @Excel(name = "钱包余额", width = 15)
    private BigDecimal balance;

    @Excel(name = "租聘站点", width = 20)
    private String communityName;

    @Excel(name = "车辆编号", width = 20)
    private String vehicleNumber;

    @Excel(name = "租聘方式", replace = {"整车_1", "电池_2"})
    private Byte lease;

    @Excel(name = "租金标准")
    private BigDecimal rentStandard;

    @Excel(name = "担保信息", width = 25)
    private String guaranteeCompanyName;

    @Excel(name = "担保站点", width = 20)
    private String guaranteeSite;

    @Excel(name = "租赁日期", width = 20, exportFormat = "yyyy年MM月dd日")
    private Date subDate;

    private Long repairCodeId;
    private Long electricVehBrandId;
    private Date approvalTime;

    private String batteryType;

    private CarRentalFee carRentalFee;

    private BigDecimal maintFees;
    private List<CarRentalRepairMaint> carRentalRepairMaintList;

}
